function PointLight(hex, intensity, distance, decay) {
  THREE.PointLight.call(this, hex, intensity, distance, decay)
}

PointLight.prototype = Object.create(THREE.PointLight.prototype)
PointLight.prototype.update = update

function update() {
  for (var i = 0; i < this.children.length; i++) {
    this.children[i].update()
  }
}
